package user;

import book.BookList;
import operation.BorrowOperation;
import operation.IOperation;

abstract public class User {
    protected String name;
    protected IOperation[] ioOperations;

     public User(String name) {
        this.name = name;
    }
  public abstract int menu();
     public void doWork(int choice, BookList bookList){
          this.ioOperations[choice].work(bookList);
     }
}
